package com.xiye.common.entity;

import java.io.Serializable;

/**
 * @author 西野
 * @version V1.0
 * @title User.java
 * @package com.xiye.entity.system
 * @description 用户
 * @date 2018-07-11
 */
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    private String USER_ID; // 用户id
    private String USERNAME; // 用户名
    private String PASSWORD; // 密码
    private String NAME; // 姓名
    private String RIGHTS; // 权限
    private String ROLE_ID; // 角色id
    private String ROLE_IDS; // 副职角色id
    private String RNUMBER; // 角色编号
    private String LAST_LOGIN; // 最后登录时间
    private String IP; // 用户登录ip地址
    private String STATUS; // 状态
    private Role role; // 角色对象
    private Page page; // 分页对象
    private String EMAIL; // 邮箱
    private String SERIAL_NUMBER; // 编码
    private String PHONE; // 电话
    private String DEPARTMENT_ID; // 部门ID
    private String DEPARTMENT_NAME; // 部门名称

    public String getDEPARTMENT_ID() {
        return DEPARTMENT_ID;
    }

    public void setDEPARTMENT_ID(String dEPARTMENT_ID) {
        DEPARTMENT_ID = dEPARTMENT_ID;
    }

    public String getDEPARTMENT_NAME() {
        return DEPARTMENT_NAME;
    }

    public void setDEPARTMENT_NAME(String dEPARTMENT_NAME) {
        DEPARTMENT_NAME = dEPARTMENT_NAME;
    }

    public String getRNUMBER() {
        return RNUMBER;
    }

    public void setRNUMBER(String rNUMBER) {
        RNUMBER = rNUMBER;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public String getEMAIL() {
        return EMAIL;
    }

    public void setEMAIL(String eMAIL) {
        EMAIL = eMAIL;
    }

    public String getSERIAL_NUMBER() {
        return SERIAL_NUMBER;
    }

    public void setSERIAL_NUMBER(String sERIAL_NUMBER) {
        SERIAL_NUMBER = sERIAL_NUMBER;
    }

    public String getPHONE() {
        return PHONE;
    }

    public void setPHONE(String pHONE) {
        PHONE = pHONE;
    }

    public String getUSER_ID() {
        return USER_ID;
    }

    public void setUSER_ID(String uSER_ID) {
        USER_ID = uSER_ID;
    }

    public String getUSERNAME() {
        return USERNAME;
    }

    public void setUSERNAME(String uSERNAME) {
        USERNAME = uSERNAME;
    }

    public String getPASSWORD() {
        return PASSWORD;
    }

    public void setPASSWORD(String pASSWORD) {
        PASSWORD = pASSWORD;
    }

    public String getNAME() {
        return NAME;
    }

    public void setNAME(String nAME) {
        NAME = nAME;
    }

    public String getRIGHTS() {
        return RIGHTS;
    }

    public void setRIGHTS(String rIGHTS) {
        RIGHTS = rIGHTS;
    }

    public String getROLE_ID() {
        return ROLE_ID;
    }

    public void setROLE_ID(String rOLE_ID) {
        ROLE_ID = rOLE_ID;
    }

    public String getROLE_IDS() {
        return ROLE_IDS;
    }

    public void setROLE_IDS(String rOLE_IDS) {
        ROLE_IDS = rOLE_IDS;
    }

    public String getLAST_LOGIN() {
        return LAST_LOGIN;
    }

    public void setLAST_LOGIN(String lAST_LOGIN) {
        LAST_LOGIN = lAST_LOGIN;
    }

    public String getIP() {
        return IP;
    }

    public void setIP(String iP) {
        IP = iP;
    }

    public String getSTATUS() {
        return STATUS;
    }

    public void setSTATUS(String sTATUS) {
        STATUS = sTATUS;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public Page getPage() {
        if (page == null)
            page = new Page();
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

}
